package indi.zhifa.study2024.nbr.gen.busy.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import indi.zhifa.core.mpenhance.entity.po.BaseEntity;
import indi.zhifa.study2024.common.auth.entity.EnpBelongEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * <p>
 * 片区
 * </p>
 *
 * @author 织法
 * @since 2024-12-01
 */
@Data
@TableName("domain")
@Schema(title = "GenDomainEntity对象", description = "片区")
public class GenDomainEntity extends EnpBelongEntity {

    @Schema(title = "片区code")
    private String code;

    @Schema(title = "片区code")
    private String cascadeCode;

    @Schema(title = "片区名")
    private String name;

    @Schema(title = "片区级别")
    private Integer level;

    @Schema(title = "父级片区Id")
    private Long parentId;

}
